#ifndef NETWORK_NETWORKGETJSONREQUEST_H
#define NETWORK_NETWORKGETJSONREQUEST_H

#include "networkgetrequest.h"


namespace Network {
class JSONResponse;
class GetJSONRequest : public GetRequest
{
public:
    GetJSONRequest(QObject *parent = 0);

public:
    virtual JSONResponse &jsonResponse() = 0;

private:
    const Response &response() const;
    Response &response();

private:
    virtual const JSONResponse &jsonResponse() const = 0;

};

} // namespace Network

#endif // NETWORK_NETWORKGETJSONREQUEST_H
